package chapter1104;

public class SalariedEmployee extends Employee {
    private double salary;

    public SalariedEmployee(String name, int birthdayMonth, double salary) {
        super(name, birthdayMonth);
        this.salary = salary;
    }

    @Override
    public double getSalary(int month) {
        return super.getSalary(month) + salary;
    }
}
